Greengard's N-Body Algorithm is not Order N

نویسنده

  • Srinivas Aluru
چکیده

Greengard's N -body algorithm claims to compute the pairwise interactions in a system ofN particles in O(N) time for a xed precision. In this paper, we show that the choice of precision is not independent of N and has a lower bound of logN . We use this result to show that Greengard's algorithm is not O(N). The N -body problem constitutes simulating the motion of N particles under the in uence of mutual gravitational interactions. Since the problem cannot be solved in closed form, a discrete approximation has to be used. The force on every particle due to the rest of the system is computed and this information is used to update the system over a small interval of time t. This constitutes one iteration in the solution of an N -body problem. A straightforward computation of the interactions takes O(N) time per iteration, which is prohibitive since physicists want to simulate the motion of large collections of particles over long time scales. A number of algorithms have been designed to reduce the time complexity per iteration. The main principle behind these algorithms is approximating the force between two collections of particles that are far apart, without having to compute every pairwise interaction. With the notable exception of Greengard [1], most researchers paid little attention to a rigorous worst-case analysis of the complexity of their algorithms. Greengard's algorithm remains the only algorithm so far with a proven worst-case complexity of O(N). We limit the discussion to the two-dimensional version of Greengard's algorithm for convenience and simplicity. The rst step in Greengard's algorithm is creating a hierarchical subdivision of the space containing the This work is supported by the Applied Mathematical Sciences Program of the Ames Laboratory-USDOE under contract No. W-7405-ENG-82.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Distribution-independent hierarchical N-body methods

The N-body problem is to simulate the motion of N particles under the influence of mutual force fields based on an inverse square law. The problem has applications in several domains including astrophysics, molecular dynamics, fluid dynamics, radiosity methods in computer graphics and numerical complex analysis. Research efforts have focused on reducing the O(iV^) time per iteration required by...

متن کامل

A New Approach to Solve N-Queen Problem with Parallel Genetic Algorithm

Over the past few decades great efforts were made to solve uncertain hybrid optimization problems. The n-Queen problem is one of such problems that many solutions have been proposed for. The traditional methods to solve this problem are exponential in terms of runtime and are not acceptable in terms of space and memory complexity. In this study, parallel genetic algorithms are proposed to solve...

متن کامل

An improved algorithm to reconstruct a binary tree from its inorder and postorder traversals

It is well-known that, given inorder traversal along with one of the preorder or postorder traversals of a binary tree, the tree can be determined uniquely. Several algorithms have been proposed to reconstruct a binary tree from its inorder and preorder traversals. There is one study to reconstruct a binary tree from its inorder and postorder traversals, and this algorithm takes running time of...

متن کامل

Deciding Graph non-Hamiltonicity via a Closure Algorithm

We present a matching and LP based heuristic algorithm that decides graph non-Hamiltonicity. Each of the n! Hamilton cycles in a complete directed graph on n + 1 vertices corresponds with each of the n! n-permutation matrices P, such that pu,i = 1 if and only if the ith arc in a cycle enters vertex u, starting and ending at vertex n + 1. A graph instance (G) is initially coded as exclusion set ...

متن کامل

Non-linear Fractional-Order Chaotic Systems Identification with Approximated Fractional-Order Derivative based on a Hybrid Particle Swarm Optimization-Genetic Algorithm Method

Although many mathematicians have searched on the fractional calculus since many years ago, but its application in engineering, especially in modeling and control, does not have many antecedents. Since there are much freedom in choosing the order of differentiator and integrator in fractional calculus, it is possible to model the physical systems accurately. This paper deals with time-domain id...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • SIAM J. Scientific Computing

دوره 17  شماره 

صفحات  -

تاریخ انتشار 1996